package com.kexinde.wjifen.util;

public class CreateRandomNum {

	/**
	 * 生成指定长度的随机字符串
	 * 
	 * @param length
	 *            随机字符串的长度
	 * @return
	 */
	public static String create(int length) {
		StringBuilder sb = new StringBuilder();
		for (int i = 0; i < length; i++) {
			sb.append((int)(Math.random() * 10));
		}
		return sb.toString();
	}
	
	
	
}
